#include <iostream>

// 函数声明：计算两个整数的和
int add(int a, int b);

int main() {
    int x = 5;
    int y = 10;
    int result = add(x, y);

    std::cout << "The sum of " << x << " and " << y << " is " << result << std::endl;

    return 0;
}

// 函数定义
int add(int a, int b) {
    return a + b;
}